package com.itheima.pojo;

public class ShoppingCart {
    // 买家id 主键
    private Integer buyerId;
    // 商品id 主键
    private Integer itemId;
    // 商品数量
    private Integer itemQuantity;

    public ShoppingCart() {
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getItemQuantity() {
        return itemQuantity;
    }

    public void setItemQuantity(Integer itemQuantity) {
        this.itemQuantity = itemQuantity;
    }

    @Override
    public String toString() {
        return "ShoppingCart{" +
                "buyerId=" + buyerId +
                ", itemId=" + itemId +
                ", itemQuantity=" + itemQuantity +
                '}';
    }
}
